package com.oig.sys.log.feign;


import com.oig.sys.log.dto.SysAuditLogDto;
import com.oig.sys.log.feign.factory.SysAuditLogFallBackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "sysAuditLogService", value = "sys-log-server", path = "/sysAuditLog", fallbackFactory = SysAuditLogFallBackFactory.class)
public interface SysAuditLogService {


    //@Operation(summary = "保存审计日志")
    @PostMapping(value = "/addSysAuditLog")
    void addSysAuditLog(@RequestBody SysAuditLogDto logDto);

}
